/* 全局动画 */
.page-enter-active, .page-leave-active {
  transition: opacity 1s;
 }
 .page-enter, .page-leave-active {
  opacity: 0;
 }
/* 某个组件的切换动画 */
 .test-enter-active, .test-leave-active {
  transition: all 2s;
  font-size:16px;
 }
 .test-enter, .test-leave-active {
  opacity: 0;
  font-size:30px;
 }